package com.cellulam.framework.core.log;

import com.cellulam.framework.core.log.enums.LogLevel;

public interface LogClient {

    void writeBizLog(BizLog log);
    void writeBizLog(long userId, BizLog log);
    void writeSystemLog(Exception ex);
    void writeSystemLog(Exception ex, LogLevel logLevel, int status);
    void writeSystemLog(long userId, LogLevel logLevel, Exception ex, int status);
    void writeSystemLog(SystemLog log);
    void writeSystemLog(long userId, SystemLog info);
    void writeAccessLog(long userId, RequestHttpLog info);
    void logSlowSql(SlowSqlLog log);

    void writeRestLog(RestLog log, Exception ex);
}
